package com.army.study;

import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.content.IntentParams;
import ohos.ace.ability.AceAbility;
import ohos.aafwk.content.Intent;

public class BusCardConfigAbility extends AceAbility {
    public static Long formId;

    @Override
    public void onStart(Intent intent) {
        // 绑定前端BusCardConfig页面
        setInstanceName("BusCardConfig");

        // 获取卡片ID并进行保存
        IntentParams params = intent.getParams();
        formId = (long) params.getParam(AbilitySlice.PARAM_FORM_IDENTITY_KEY);
        super.onStart(intent);
    }

    @Override
    public void onStop() {
        super.onStop();
    }
}
